<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
   <tr>
 	<td align="left">
		<table width="100%" align="left" border="0" cellpadding="5" cellspacing="5" >
			<tr>	
				<td width="100%" height="30" align="left">
                <div class="menulayout" id="content_menu">
                 <ul id="nav" style="position:relative; margin-left:0px;">
                 	 <? if(checkPermisos(1,"vista")) { ?>                 
                      <li>
                                 <table border="0" cellpadding="0" cellspacing="0" width="160" align="center">
								<tr>
                                	<td align="center" valign="middle" width="10" height="25" class="">
                                    </td>
                                   <td align="center" valign="middle"  height="25" class="">

                                    <div class="principal" onClick="cargarOpcion('PanelControl')" onMouseOver="resaltarOpMenu(this)" onMouseOut="noresaltarOpMenu(this)">
                                    <table>
                                            	<tr><td align="center">
                                    <img src="images/dashboard.png" />
                                    </td></tr>
                                                <tr><td align="center">
                                            	DASHBOARD
                                            	</td></tr>
                                            </table>
                                    </div>
									</td>
                                </tr>
                                </table>
                                </li>
                               <? } ?>
								<? if(checkPermisos(2,"vista")) { ?>
                                <li> 
                                  <table border="0" cellpadding="0" cellspacing="0" width="160" align="center" onClick="">
									<tr>
                                   		<td align="center" valign="middle" height="25" class="">
                                  			<div class="principal" onClick="cargarOpcion('Informe@alarmas')" onMouseOver="resaltarOpMenu(this)" onMouseOut="noresaltarOpMenu(this)">
                                            <table>
                                            	<tr><td align="center">
                                            <img src="images/informes.png" />
                                            	</td></tr>
                                                <tr><td align="center">
                                            	INFORMES
                                            	</td></tr>
                                            </table>
                                            </div>
                                 		</td>
                                        <td align="center" valign="middle" width="10" height="25" class="">
                                    </td>
                                  	</tr>
                                  </table>
                                </li>    
                                <? } ?>     
                                 <? if(checkPermisos(3,"vista")) { ?>                 
                                  <li> 
                                  <table border="0" cellpadding="0" cellspacing="0" width="160" align="center" onClick="">
									<tr>
                                   		<td align="center" valign="middle"  height="25" class="">
                                  		<div class="principal" onClick="cargarOpcion('Dispositivo')" onMouseOver="resaltarOpMenu(this)" onMouseOut="noresaltarOpMenu(this)">
                                        <table>
                                            	<tr><td align="center">
                                        <img src="images/configuracion.png" />
                                        </td></tr>
                                                <tr><td align="center">
                                            	CONFIGURARCI&Oacute;N
                                            	</td></tr>
                                            </table>
                                        </div>
                                 		</td>
                                  	</tr>
                                  </table>                                  
                                </li>   
                                <? } ?>
                                <? if(checkPermisos(4,"vista")) { ?>                 
                                <li>
                                <table border="0" cellpadding="0" cellspacing="0" width="160" align="center" onClick="">
								<tr>
                                   <td align="center" valign="middle"  height="25" class="">
                                  	<div class="principal" onClick="cargarOpcion('Usuario')" onMouseOver="resaltarOpMenu(this)" onMouseOut="noresaltarOpMenu(this)">
                                    <table>
                                            	<tr><td align="center">
                                    <img src="images/usuarios.png">
                                    </td></tr>
                                                <tr><td align="center">
                                            	USUARIOS
                                            	</td></tr>
                                            </table>
                                    </div>
									</td>
                                </tr>
                                </table>                              
                                </li>      
                                <? } ?>                        
                              </ul>
                            <!--</div>-->
              			 </div>
					</td>
				</tr>
			</table>
	</td>
</tr>
<tr>
	<td>
    	<hr class="separa_menu" />
    </td>
</tr>
</table>
